package xcmg.device.dao.entity.logistic;

import java.util.Objects;

public class LogisticWaybillFeeDetailDO {
    private String id;

    private String wayBillFeeId;

    private String wayBillNo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getWayBillFeeId() {
        return wayBillFeeId;
    }

    public void setWayBillFeeId(String wayBillFeeId) {
        this.wayBillFeeId = wayBillFeeId;
    }

    public String getWayBillNo() {
        return wayBillNo;
    }

    public void setWayBillNo(String wayBillNo) {
        this.wayBillNo = wayBillNo == null ? null : wayBillNo.trim();
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        LogisticWaybillFeeDetailDO that = (LogisticWaybillFeeDetailDO) o;
        return Objects.equals(wayBillFeeId, that.wayBillFeeId) &&
                Objects.equals(wayBillNo, that.wayBillNo);
    }

    @Override
    public int hashCode() {
        return Objects.hash(wayBillFeeId, wayBillNo);
    }
}
